#root,
.ant-layout {
  width: 100%;
  height: 100%;
}

.ant-layout {
  height: 100%;
  width: 100%;
  overflow: hidden;
  .ant-layout-content{
    overflow: scroll;
  }
  .ant-layout-header {
    height: 60px;
    border-bottom: 5px solid #2fb9d4;
    background-color: #001529;
    color: #fff;
    padding: 0;

    .header-con {
      width: auto;
      height: 100%;
      display: flex;
      justify-content: space-between;
      margin: 0 40px;

      .admin-logo-box {
        width: 185px;
        font-size: 16px;
        color: #fff;
        line-height: 60px;
      }

      ul {
        display: flex;

        li {
          margin-left: 50px;

          .login-out {
            margin-left: 20px;
            color: #ee1212;
          }
        }

        .currentdate {
          margin-right: 50px;
          font-size: 20px;
          color: #2fb9d4;
          font-family: 'yjsz';
        }
      }
    }
  }

  .header-logo {
    .logo {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      margin: 10px auto;
      display: block;
    }

    p {
      color: #fff;
      display: block;
      width: 100%;
      height: 25px;
      text-align: center;
      font-size: 12px;
      white-space: nowrap;
      line-height: 25px;
    }
  }

  .sider-ant-menu {
    background: #001529;
    color: #c2c2c2;
    font-size: 16px;

    &:not(.ant-menu-horizontal) .ant-menu-item-selected {
      background-color: #2fb9d4;
      color: #fff;
    }

    .ant-menu-submenu>.ant-menu {
      background: #001529;
      color: #fff;
    }
  }

  .top-ant-menu {
    height: 40px;
    overflow: visible !important;
    white-space: nowrap;
    // border-bottom: 1px solid #e2e2e2 !important;
    background-color: #f2f2f2 !important;
    color: #000 !important;
    overflow: hidden;

    .ant-menu-item {
      // line-height: 40px;
      // height:40px;
      color: #000;
      padding: 0 10px;
      height: 40px;
      top: -6px !important;
    }

    .ant-menu-item-selected {
      background-color: #fff !important
    }
  }

  .ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover {
    background-color: #f2f2f2;
    color: #000;
  }

  .x-nav {
    padding: 0 20px;
    border-bottom: 1px solid #e5e5e5;
    line-height: 39px;
    height: 39px;
    overflow: hidden;
    background-color: #fff;
    margin: 0 !important;
    overflow: visible;
  }
}